
.rust-cookie {
  position: fixed;
  right: 6%;
  bottom: 6%;
  width: 85px;
  z-index: 1000;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.rust-cookie img {
  width: 100%;
  display: block;
}

.rust-cookie:hover {
  transform: rotate(15deg) scale(1.15);
  filter: drop-shadow(0 0 15px orange);
}


/* COOKIE BUTTON */
button.rust-cookie {
  background: transparent;
  border: none;
  padding: 0;
}

/* DARK BACKGROUND */
.cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal.active {
  display: flex;
}

/* WINDOW */
.cookie-panel {
  position: relative;
  width: min(390px, 100%);
  padding: 30px 25px;
  background: linear-gradient(145deg, #20242c, #0b0e14);
  border: 1px solid #8c6337;
  border-radius: 18px;
  text-align: center;
  color: #e8e8e8;
  box-shadow: 0 0 45px rgba(0,0,0,0.8);
}

.cookie-panel-image {
  width: 120px;
  max-width: 100%;
  margin-bottom: 12px;
}

.cookie-panel h2 {
  color: #e8ad60;
  letter-spacing: 4px;
  margin: 8px 0;
}

.cookie-panel h3 {
  font-size: 12px;
  letter-spacing: 2px;
  color: #b5bcc8;
  margin: 12px 0 20px;
}

.cookie-panel p {
  font-size: 14px;
  line-height: 1.7;
  color: #cdd0d6;
  margin-bottom: 25px;
}

.cookie-support {
  display: block;
  padding: 13px;
  background: #d99a48;
  color: #1b140c;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: background 0.3s;
}

.cookie-support:hover {
  background: #f5bd70;
}

.cookie-panel span {
  display: block;
  font-size: 11px;
  color: #8c939d;
  margin-top: 18px;
}

.cookie-close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: none;
  background: transparent;
  color: #aaa;
  font-size: 28px;
  cursor: pointer;
}

.cookie-close:hover {
  color: white;
}
